<form action='index.php?ctl=system/setting&act=siteBasicEdit' method='post' class="settingform"  target="{update:'messagebox'}" id="site_basic" enctype="multipart/form-data">
  <input type='hidden' name='returl' value='index.php?ctl=system/setting&act=siteBasic' />
  <div class="tableform">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" ><tr><td>
       <h4><{t}>商店基本设置<{/t}></h4>
       </td><td style="text-align:right; padding-right:10px;"><{help docid="64" type="link"}><{t}>点击查看帮助<{/t}><{/help}></td></tr></table>
    <div class="division" style="position:static;">
      <table width="100%" border="0" cellpadding="0" cellspacing="0"  class="shop-setting">
      <tr>
          <th><{t}>商店名称：<{/t}></th>
          <td><{setting key="system.shopname" namespace="setting" display='false'}><span class="fontcolorBlue"><{t}><a href='index.php?ctl=sale/tools&act=seo'>SEO设置&raquo;</a><{/t}></span></td>
      </tr>
      <{if !$env.const.SAAS_MODE}>
      <tr>
          <th><{t}>商店网址：<{/t}></th>
          <td><{setting key="store.shop_url" namespace="setting" display='false'}><span class="fontcolorGray"><{t}>&nbsp;&nbsp;例如:<b>http://www.shopex.cn/</b></span></td>
      </tr>
      <{/if}>
      <tr>
          <th><{t}>商店Logo：<{/t}></th>
          <td><div id="sitelogo"><{setting key="site.logo" namespace="setting" display='false'}></div></td>
      </tr>
       </table>
       </div>

    <h4><{t}>其它设置<{/t}></h4>
        <div class="division">
      <table width="100%" border="0" cellpadding="0" cellspacing="0"  class="shop-setting">
      <tr>
          <th><{t}>备案号：<{/t}></th>
          <td><{setting key="site.certtext" namespace="setting" display='false'}><span class="notice-inline"><{t}>此处填写您在工信部备案管理网站申请的备案编号，详请登陆<{/t}><a href="http://www.miibeian.gov.cn" target="_blank"><{t}>官方网站<{/t}></a></span></td>
      </tr>
      <tr>
          <th><{t}>商品库存报警数量：<{/t}></th>
          <td><{setting key="system.product.alert.num" namespace="setting" size='2' display='false'}>
             &nbsp; <{help}>如果商品库存数量低于报警数量，系统上方会实时提醒您补充库存，点击提醒可以直接查看所有需要补货的商品<{/help}>
          </td>
      </tr>
       <tr>
          <th><{t}>库存预占时间点：<{/t}></th>
          <td><{setting key="system.store.time" namespace="setting" display='false'}><span class="notice-inline"><{t}><{/t}></span><{help}>设置库存预先扣除（占用）的时间点，而系统实际扣除库存时间点是发货操作。<{/help}></td>
      </tr>
      <tr>
          <th><{t}>后台登陆启用验证码：<{/t}></th>
          <td><{setting key="system.admin_verycode" namespace="setting" display='false'}></td>
      </tr>
      <tr>
          <th><{t}>上传最大尺寸：<{/t}></th>
          <td><{setting key="system.upload.limit" namespace="setting" display='false'}><span class="notice-inline"><{t}>注意：请谨慎选择，如果空间服务商配置有限制，尺寸过大可能会导致商店系统瘫痪<{/t}></span></td>
      </tr>
     <{*
       <tr>
          <th><{t}>后台启用可视化编辑器：<{/t}></th>
          <td><{setting key="system.editortype" namespace="setting" display='false'}> &nbsp;
            <{help}>如果不开启，后台所有用到编辑器的区域均使用HTML代码编辑器替换，可以提高系统运行效率<br /><br /><{t}>影响的区域包括：商品的详细介绍修改、支付方式/配送方式的详细介绍修改等<{/t}><{/help}></td>
      </tr> *}>
       <{if $auth_type=="commercial"}>
      <tr>
          <th>前台是否显示授权标志：</th>
          <td><div id="green"><{setting key="store.greencard" namespace="setting" display='false'}></div></td>
      </tr>
      <{/if}>
       </table>
       </div>

       <div class="table-action">
        <{button type="submit" id="on_submit" label="保存"}>
       </div>

    </div>

</form>
<form action='index.php?ctl=system/setting&act=save_siteinfor' method='post' class="settingform" target="{update:'messagebox'}" id="site_basic" enctype="multipart/form-data">
  <input type='hidden' name='returl' value='index.php?ctl=system/setting&act=siteBasic' />
   <div class="tableform">
   <h4><{t}>&nbsp;&nbsp;&nbsp;&nbsp;商店基本信息<{/t}></h4>
        <div class="division">
        <input type='hidden'  name='setting[system.shopname]' value="<{$n_shop_name}>"/>
        <input type='hidden'  name='setting[store.shop_url]' value="<{$n_shop_url}>"/>
      <table width="100%" border="0" cellpadding="0" cellspacing="0"  class="shop-setting">
     <tr>
          <th><{t}>网站所有人：<{/t}></th>
          <td><div id="telephone"><{setting key="store.site_owner" namespace="setting" display='false'}></div></td>
      </tr>
      <tr>
          <th><{t}>所属行业：<{/t}></th>
          <td>
          <div id="telephone">
          <select name='setting[store.business]'>
          <{foreach from=$category_list.category_list item=business}>
          <option value='<{$business.id}>'<{if $business.id eq $category_list.typeid}>selected=true<{/if}>><{$business.name}></option>
          <{/foreach}></select>
          </div>
          </td>
      </tr>
      <tr>
          <th><{t}>联系人：<{/t}></th>
          <td><div id="address"><{setting key="store.contact" namespace="setting" display='false'}></div></td>
      </tr>
      <tr>
          <th><{t}>固定电话：<{/t}></th>
          <td><div id="telephone"><{setting key="store.telephone" namespace="setting" display='false'}></div></td>
      </tr>
      <tr>
          <th><{t}>手机：<{/t}></th>
          <td><div id="mobile"><{setting key="store.mobile" namespace="setting" display='false'}></div></td>
      </tr>
      <tr>
          <th><{t}>电子邮箱：<{/t}></th>
          <td><div id="email"><{setting key="store.email" namespace="setting" display='false'}></div></td>
      </tr>
      <tr>
          <th>QQ：</th>
          <td><div id="address"><{setting key="store.qq" namespace="setting" display='false'}></div></td>
      </tr>
      <tr>
          <th><{t}>淘宝旺旺：<{/t}></th>
          <td><div id="address"><{setting key="store.wangwang" namespace="setting" display='false'}></div></td>
      </tr>

      <tr>
          <th><{t}>地址：<{/t}></th>
          <td><div id="address"><{setting key="store.address" namespace="setting" display='false'}></div></td>
      </tr>
      <tr>
          <th><{t}>邮编：<{/t}></th>
          <td><div id="zip_code"><{setting key="store.zip_code" namespace="setting" display='false'}></div></td>
      </tr>

       </table>
       </div>

       <div class="table-action">
        <{button type="submit" id="on_submit" label="保存"}>
       </div>

    </div>
</div>
</form>




<script>
    var logo=$('sitelogo').getElement('img');
    if(logo){
        $('sitelogo').setStyles({'float':'none','position':'static'});
        logo.setStyles({'float':'none','position':'static'});
        new Element('div').injectAfter(logo);
    }
</script>
